#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int a, b;
    char ch;
    scanf("%d", &a);
    getchar();
    scanf("%c", &ch);
    b = (a + 1) / 2;
    for (int i = 0; i < b; i++)
    {
        for (int j = 0; j < a; j++)
            printf("%c", ch);
        printf("\n");
    }
}
